package com.ruoyi.web.service;




import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.web.domain.DeviceAccessCode;
import com.ruoyi.web.domain.dto.DeviceAccessCodeDto;
import com.ruoyi.web.domain.dto.GetAuthUrlDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface IDeviceAccessCodeService extends IService<DeviceAccessCode> {
    List<DeviceAccessCode> selectByCondition(DeviceAccessCodeDto condition);

    List<DeviceAccessCode> pageList(Page page, DeviceAccessCode condition);
    DeviceAccessCode detail(Long baseId);
    AjaxResult insertRecord(DeviceAccessCode code);
    AjaxResult updateRecord(DeviceAccessCode code);
    int deleteByIds(List<Long> ids);

    AjaxResult deleteRecord(Long baseId);

    AjaxResult validateCode(String code);

    AjaxResult fillCodeFlag(String ip);

    AjaxResult getAuthUrl(GetAuthUrlDto dto);

    AjaxResult customerDevelopCount();
}